package com.bite.common.core.domain.dto;


import lombok.Setter;

@Setter
public class BaseQueryTableDTO {
    private Integer pageSize = 10; // 页面大小
    private Integer pageNum = 1; // 第几页

    public int getPageSize() {
        return this.pageSize == null ? 10 : pageSize;
    }

    public int getPageNum() {
        return this.pageNum == null ? 1 : pageNum;

    }
}
